package com.ikun.pojo;

import java.util.Date;

public class TbLetter {

    private Long id;
    private String content;
    private String pic;
    private String time;
    private TbUser setuser;
    private TbUser getuser;
    private Boolean isread;

    public TbLetter(Long id, String content, String pic, String time, TbUser setuser, TbUser getuser, Boolean isread) {
        this.id = id;
        this.content = content;
        this.pic = pic;
        this.time = time;
        this.setuser = setuser;
        this.getuser = getuser;
        this.isread = isread;
    }

    public TbLetter(String content, String pic, String time, TbUser setuser, TbUser getuser, Boolean isread) {
        this.content = content;
        this.pic = pic;
        this.time = time;
        this.setuser = setuser;
        this.getuser = getuser;
        this.isread = isread;
    }

    public TbLetter() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public TbUser getSetuser() {
        return setuser;
    }

    public void setSetuser(TbUser setuser) {
        this.setuser = setuser;
    }

    public TbUser getGetuser() {
        return getuser;
    }

    public void setGetuser(TbUser getuser) {
        this.getuser = getuser;
    }

    public Boolean getIsread() {
        return isread;
    }

    public void setIsread(Boolean isread) {
        this.isread = isread;
    }
}